package com.ss4;

/**
 * @Auther: 520ljs
 * @Date: 2022/3/15 - 03 - 15 - 21:21
 */
public class Test02 {
    //这是一个main方法，是程序的入口
    public static void main(String[] args) {
        String s1 = "a"+"b"+"c";
        String s2 = "ab"+"c";
        String s3 = "a"+"bc";
        String s4 = "abc";
        String s5 = "abc" + "";
        System.out.println(s1 == s4);
        System.out.println(s2 == s5);

        String s6 = new String("abc");
    }
}
